body{

  background-color: wheat;
  
}


.logo {
    
    width: 200px;
    
}

* { margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
   border: none; 
   text-decoration: none;
   text-transform: capitalize;
  
}
  
section{ padding: 50px 100px;

}

nav ul{

width: 100%;

list-style: none;
display: flex;
justify-self: flex-end;
align-items: center;



}


 header  {

  
  height: 100px;

  position: fixed;
  top: 0; left: 0; right: 0;
  background-color: #513c2b;

  justify-content: space-between;
  z-index: 1000;


padding: 18px 100px ;
display: flex;
align-items: center;


 }
 .navbar a{
  font-size: 1rem;
  padding: 8px 17px;
  color: #070706;
  
  
 }
 .navbar a:hover{
  color: #f5f5f5;
 
  transition: 0s all linear;

 }
 .Home{
  width: 100%;
  min-height: 100vh;
  background-size: cover; 
  background-position: center;
  display: grid;
  align-items: center;
  
    background-image: url('hosrba.png');
    background-size: cover;
    background-position: center center;
    height: 100vh; 
    display: flex;
  
    color: white;
    transition: background-image 1s ease-in-out; 
    
   }
  
 
 .hometext h1{
  font-size: 2rem;
  color: hsl(0, 50%, 94%);
  text-transform: uppercase;
  letter-spacing: 1px;
 }
.hometext .newhan {
  font-size: 0.7rem;
  color: #f7f1f1;
  text-transform: uppercase;
  margin: 0.5rem 0 1.4rem;
}
.btm{
  padding: 19px 40px;
  border-radius: 0.3rem;
  background-color: #e3d6ca;
  color: #070706;
  font-weight: 500;
}
.btm:hover {
  background-color: hsl(20, 46%, 25%);

.us{
  font-size: 3rem;
}

}
.head { 
  text-align: center;
  font-size: 2rem;
  color: black;
  padding: 1rem;
  margin: 2rem;
  background: #b39273 ;
  background-size: cover; 
  align-items: center;
 
}
.head span{
  color: #513c2b;

}
.About .row{
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  padding: 2rem 0;
  padding-bottom: 3rem;

}
.About .row .video-horses{
  flex: 1  1  20rem;
  position: relative;

}
.About .row .video-horses video{
width:50% ;
border:  #000000 solid 1.5rem;
border-radius: .5rem;
box-shadow: #513c2b 0 .5rem 1rem;
height: 50%;
object-fit: cover;

}
.About .row .video-horses h3{
  position: absolute; 
  top: 50%; transform: translateY(-50%);
font-size: 3rem;
color: #665050;
background: hsl(20, 46%, 25%);
width: 50%;
padding: 2rem 2rem;
 text-align: center;
 mix-blend-mode: screen;
 
}
p {
  text-transform: uppercase;
  font-size: smaller;
  letter-spacing: 1px;
}



.About .row .bra {
  flex: 1 1  20rem   ;
  
}
.btn{
 display: inline-block;
 margin-top: 0.5rem;
 border-radius: 3.5rem;
 background-color: #513c2b;
 color: #000;
 padding: .5rem 1.5rem;
 cursor: pointer;
font-size: 0.7rem;
}
.btn:hover{

background-color: #e3d6ca;

}
.About{
  width: 100%;
  min-height: 100vh;
  background: url(About\ US\ ba.jpg); background-repeat: no-repeat;
  background-size: cover; 
  background-position: center;
  display: grid;
  align-items: center;

}



.About .row .bra h3{
font-size: 1.5rem;
color: #070706;

}.About .row .bra p {
  font-size: 0.8rem;
  color: #070706;
  padding: .5rem 0;
  padding-top: 1rem;
  text-transform: uppercase;
  line-height: 1.5;
  
  }
  .cours {
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 100px;
  }
  
  h1 {
    font-size: 34px;
    font-weight: 600;
    color: black; 
  }
  
  p {
    font-size: 12px;
    font-weight: 300;
    line-height: 22px;
    padding: 10px;
  }
  
  .roww {
    margin-top: 5%;
    display: flex;
    justify-content: space-between;
  }
  
  .course-coll {
    flex-basis: 31%;
    background: #513c2b;
    border-radius: 10px;
    margin-bottom: 5%;
    padding: 20px 12px;
    box-sizing: border-box;
    transition: 0.5s;
    color: white;
  }
  
  .course-coll h3 {
    font-size: 20px;
    font-weight: bold;
  }
  
  .course-coll h3 a {
    color: white; 
    text-decoration: none; 
    transition: color 0.3s ease;
  }
  
  .course-coll h3 a:hover {
    color: #d2b48c; 
  }
  
  .course-coll:hover {
    box-shadow: 0 0 20px 0px black;
  }
  

  .services {
    
    padding: 50px 20px;
    text-align: center;
  }
  
  .services h1 {
    font-size: 2.3rem;
    color: black;
    margin-bottom: 10px;
  }
  
  .services p {
    font-size: 1rem;
    color: gray;
    margin-bottom: 30px;
  }
  
  .row {
    display: flex;
    justify-content: center;
    gap: 20px;
  }
  
  .campus-col {
    position: relative;
    width: 100%;
    max-width: 300px; 
    height: 600px; 
    overflow: hidden;
    border-radius: 10px;
    transition: transform 0.3s ease;
  }
  
  .campus-col:hover {
    transform: scale(1.05); 
  }
  
  .campus-col img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    transition: opacity 0.3s ease;
  }
  
  .layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(75, 43, 11, 0.7); 
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  
  .campus-col:hover .layer {
    opacity: 1; 
  }
  
  .layer h3 {
    color: #fff;
    font-size: 1.5rem;
    text-transform: uppercase;
  }
  
 .course-col:hover{
box-shadow: 0 0 20px 0px chocolate;

 }
 
 .campus-col {
  flex: 1;
  position: relative;
  overflow: hidden;
  border-radius: 15px; 

  margin: 0 10px; 
}
.gray {
  color: gray;
}


body, html {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: Arial, sans-serif;
}

.signin {
  background-image: linear-gradient(rgba(205, 133, 63, 0.5), rgba(205, 133, 63, 0.5)),
      url('horsbage.jpg'); 
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.signin-cont {
  background-color: transparent; 
  text-align: center;
  width: 100%;
  max-width: 400px;
}

.signin-header h1 {
  margin: 0;
  font-size: 24px;
  color: white;
}

.signin-form label {
  display: block;
  margin: 10px 0 5px;
  text-align: left;
  color: white;
}

.signin-form input {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: none;
  border-radius: 5px;
  box-sizing: border-box;
  background-color: #f9f9f9;
  color: #333;
}

.signin-form input:focus {
  border: 2px solid #f0a500;
  outline: none;
}

.signin-form button {
  background-color: #f0a500;
  color: white;
  padding: 10px;
  width: 100%;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.signin-form button:hover {
  background-color: #d68a00;
}
.signup-link a{
  color: wheat;
}
.signin-form a {
  color: #f0a500;
  text-decoration: none;
}

.signin-form a:hover {
  text-decoration: underline;
}

.signup-link {
  margin-top: 15px;
  font-size: 14px;
  color: white;
}


.sighnup {
  background-image: linear-gradient(rgba(205, 133, 63, 0.5), rgba(205, 133, 63, 0.5)), 
    url('horsbage.jpg'); 
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  font-family: Arial, sans-serif;
  margin: 0; 
  padding: 0; 
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.signup-cont {
  background-color: transparent; 
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  max-width: 400px;
  width: 100%;
  box-shadow: none; 
}


.signup-header h1 {
  margin: 0;
  font-size: 24px;
  color: white; 
}

.signup-header p {
  margin: 10px 0;
  color: white; 
  font-size: 14px;
}


.signup-form fieldset {
  border: 2px solid #f0a500;
  padding: 15px;
  border-radius: 8px;
  margin: 10px 0;
}

.signup-form legend {
  font-size: 18px;
  color: #f0a500;
  padding: 0 10px;
  font-weight: bold;
}


.signup-form label {
  display: block;
  margin: 10px 0 5px;
  text-align: left;
  color: white; 
}

.signup-form input[type="text"],
.signup-form input[type="email"],
.signup-form input[type="password"] {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: none;
  border-radius: 5px;
  box-sizing: border-box;
  background-color: #f9f9f9;
  color: #333; 
}

.signup-form input
.signup-form input
.signup-form input {
  border: 2px solid #f0a500; 
  background-color: #fff; 
}


.gender {
  text-align: left;
  margin: 10px 0;
}

.gender div {
  margin: 5px 0;
  display: flex;
  align-items: center;
}

.gender input[type="radio"] {
  margin-right: 5px;
}


.submit-btn {
  background-color: #f0a500;
  color: white; 
  padding: 10px;
  width: 100%;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.submit-btn:hover {
  background-color: #d68a00; 
}

.submit-btn:active {
  background-color: #c17d00; 
}






.footer {
  background-color: #333;
  color: white;
  padding: 20px 0;
  font-family: Arial, sans-serif;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
}

.footer-section {
  flex: 1;
  min-width: 200px;
}

.footer-section h3 {
  font-size: 20px;
  margin-bottom: 10px;
  text-align: center;
}

.footer-section p, .footer-section ul {
  font-size: 14px;
  line-height: 1.4;
}

.footer-section ul {
  padding-left: 0;
  list-style-type: none;
}

.footer-section ul li {
  margin-bottom: 8px;
}

.footer-section a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: #ffa500;
}

.links {
  display: flex;
  justify-content: space-around;
}

.links li {
  margin-right: 8px;
}

.footer-bottom {
  text-align: center;
  margin-top: 15px;
  font-size: 12px;
}

.footer-bottom p {
  margin: 0;
  padding: 8px 0;
  background-color: #513c2b;
}


.footer-logoo {
  margin-top: 10px;
  text-align: center;
}

.footer-logo {
  width: 150px; 
  height: auto;
  margin-bottom: 10px;
}


@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
  }

  .footer-logo {
    width: 120px; 
  }
}



.bodyvisit {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #584022ca;
}


h1 {
  margin: 0;
}

p {
  margin: 5px 0;
}


.stables {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center; 
  gap: 100px;
  padding: 20px;
  min-height: calc(100vh - 80px); 
  box-sizing: border-box;
}

.stable {
  width: 300px;
  position: relative;
}

.stable-card {
  display: block;
  cursor: pointer;
  text-align: center;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  padding: 15px;
  transition: transform 0.2s ease;
}

.stable-card img {
  width: 100%;
  border-radius: 8px;
}

.stable-card h3 {
  color: #8b4513;
  margin: 10px 0;
}

.stable-card p {
  font-size: 14px;
  color: #666;
}

.stable-card:hover {
  transform: scale(1.05);
}


.toggle {
  display: none;
}


.available-days {
  display: none;
  background-color: #fff5e6;
  padding: 15px;
  border-radius: 8px;
  margin-top: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.available-days h4 {
  margin: 0;
  color: #8b4513;
}

.available-days ul {
  list-style: none;
  padding: 0;
  margin: 10px 0 0 0;
}

.available-days li {
  margin: 5px 0;
  color: #333;
}


.book-now {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 15px;
  background-color: #8b4513;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-size: 14px;
}

.book-now:hover {
  background-color: #a5673f;
}

.toggle:checked ~ .available-days {
  display: block;
}

.page-container {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #584022ca;
}

.main-title {
  margin: 0;
  text-align: center;
  color: #fff;
  padding: 20px 0;
  margin-top: 80px; 
}


.tournament-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 100px; 
  padding: 20px;
  min-height: calc(100vh - 80px);
  box-sizing: border-box;
}


.tournament-item {
  width: 300px;
  position: relative;
}




.tournament-card {
  display: block;
  cursor: pointer;
  text-align: center;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  padding: 15px;
  transition: transform 0.2s ease;
}

.tournament-image {
  width: 100%;
  border-radius: 8px;
}

.tournament-title {
  color: #8b4513;
  margin: 10px 0;
}

.tournament-card:hover {
  transform: scale(1.05);
}

.checkbox-toggle {
  display: none;
}

.details {
  display: none;
  background-color: #fff5e6;
  padding: 15px;
  border-radius: 8px;
  margin-top: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.event-date {
  margin: 0;
  color: #8b4513;
}

.event-description {
  color: #333;
}

.details .book-button {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 15px;
  background-color: #8b4513;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-size: 14px;
}

.details .book-button:hover {
  background-color: #a5673f;
}

.checkbox-toggle:checked ~ .details {
  display: block;
}


.page-container {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #584022ca;
}

.main-title {
  margin: 0;
  text-align: center;
  color: #fff;
  padding: 20px 0;
  margin-top: 80px; 
}


.course-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 100px; 
  padding: 20px;
  min-height: calc(100vh - 80px);
  box-sizing: border-box;
}


.courseitem {
  width: 300px;
  position: relative;
}

.coursecard {
  display: block;
  cursor: pointer;
  text-align: center;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  padding: 15px;
  transition: transform 0.2s ease;
}

.course-image {
  width: 100%;
  border-radius: 8px;
}

.coursetitle {
  color: #8b4513;
  margin: 10px 0;
}

.coursecard:hover {
  transform: scale(1.05);
}


.checkbox-toggle {
  display: none;
}

.details {
  display: none;
  background-color: #fff5e6;
  padding: 15px;
  border-radius: 8px;
  margin-top: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.details h4 {
  margin: 0;
  color: #8b4513;
}

.details p {
  color: #333;
}

.details .book-button {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 15px;
  background-color: #8b4513;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-size: 14px;
}

.details .book-button:hover {
  background-color: #a5673f;
}


.checkbox-toggle:checked ~ .details {
  display: block;
}


.tablestyle {
  width: 100%;
  margin: 40px auto;
  border-collapse: collapse;
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  text-align: center;
  font-size: 16px;
}

.tablestyle th, .tablestyle td {
  padding: 12px;
  border: 1px solid #ddd;
}

.tablestyle caption {
  font-size: 20px;
  font-weight: bold;
  color: #ffffff;
  margin-bottom: 10px;
  text-align: center;
}
.tablestyle th {
  background-color:  #513c2b;
 color: #b39273;
  text-transform: uppercase;
}



.tablestyle tr:hover {
  background-color: #b39273;
}


@media (max-width: 600px) {
  section {
    padding: 10px 20px;
  }

  header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  height: 60px;
  flex-direction: row; /* رجعناها row بدل column */
}


  nav ul {
  display: none; /* نخفيه في البداية */
  flex-direction: column;
  align-items: flex-start;
}


  .logo {
    width: 150px;
  }

  /* تعديل Home */
  .Home {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 80px 20px 20px;
    text-align: center;
    gap: 20px;
  }

  .hometext {
    width: 100%;
  }

  .hometext h1 {
    font-size: 1.5rem;
  }

  .hometext .newhan {
    font-size: 0.6rem;
  }

  .btm {
    padding: 12px 25px;
    font-size: 0.8rem;
  }

  .Home img {
    width: 90%;
    max-width: 300px;
  }

  .course-coll {
    max-width: 100%;
    height: auto;
  }

  .roww {
    flex-direction: column;
  }

  .row {
    flex-direction: column;
    align-items: center;
  }

  .campus-col {
    max-width: 100%;
    height: auto;
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
  }

  .signin-cont, .signup-cont {
    padding: 15px;
    max-width: 90%;
  }

  .signin-header h1, .signup-header h1 {
    font-size: 20px;
  }

  .signup-form legend {
    font-size: 16px;
  }

  .submit-btn, .signin-form button {
    font-size: 14px;
    padding: 8px;
  }

  .stables {
    flex-direction: column;
    gap: 30px;
  }

  .stable {
    width: 90%;
  }
}
